// 全局样式文件

// 重置默认样式
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

a {
  text-decoration: none;
}

.app-container {
  padding: 20px;
}

// 表格样式
.table-wrapper {
  margin-top: 15px;
}

// 分页样式
.pagination-container {
  padding: 15px 0;
  display: flex;
  justify-content: flex-end;
}

// 搜索表单样式
.search-form {
  margin-bottom: 20px;
  
  .el-form-item {
    margin-bottom: 15px;
  }
  
  .search-buttons {
    display: flex;
    justify-content: flex-end;
  }
}

// 对话框样式
.dialog-form {
  max-width: 800px;
  margin: 0 auto;
  padding-right: 20px;
}

// 内容区块
.content-block {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}

// 卡片样式
.card-block {
  margin-bottom: 20px;
}

// 标题
.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  
  &:before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background-color: #409EFF;
    margin-right: 8px;
    vertical-align: middle;
  }
}

// 操作按钮组
.action-button-group {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
  
  .el-button {
    margin-left: 10px;
  }
}

// 表格操作栏
.table-operation {
  .el-button {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  .el-button + .el-button {
    margin-left: 5px;
  }
} 